package com.ruoyi.business.mapper;

import java.util.List;

import com.ruoyi.business.model.PickerModel;
import com.ruoyi.business.response.ApiPlanLayerRes;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.business.domain.PlanData;
import org.apache.ibatis.annotations.Param;

/**
 * 调研计划关联数据服务Mapper接口
 * 
 * @author Eric
 * @date 2024-04-10
 */
@Mapper
public interface PlanDataMapper extends BaseMapper<PlanData> {

    List<ApiPlanLayerRes> getPlanLayerByPlanIds(List<Long> planIdList);

    List<PickerModel> getPlanPickerLayerByPlanId(Long planId);

    List<PickerModel> getPlanPickerLayerByPlanId1(@Param("planId") Long planId, @Param("dataTypeId") Long dataTypeId);

    List<ApiPlanLayerRes> getPlanLayerByPlanId(Long researchPlanId);
}
